#ifndef TRANSFORM
#define TRANSFORM


#include<iostream>
#include<string.h>
#include<stdio.h>
#include <winsock2.h>
#include <windows.h>
using namespace std;
#pragma comment(lib,"ws2_32.lib")

///////////////////////// client /////////////////////////
bool start_client(char ip[], int port);
bool start_server();


void initialization();

void getSubStr(char src[], char dst[], int n);

bool cmp_str(const char src[], const char dst[]);
int getMessageSize(char str[], int &num);
void helpInfo();

int createDirectory(char* directoryPath);
BOOL isFolderExist(char * folder);

void detectName(char name[]);

#endif